<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Count data</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Count_data"> <link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Count_data rootpage-Count_data skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Count data</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<style data-mw-deduplicate="TemplateStyles:r1305433154">
/* start https://en.wikipedia.org/ */
.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}
/* end https://en.wikipedia.org/ */
</style>
<style data-mw-deduplicate="TemplateStyles:r1236090951">
/* start https://en.wikipedia.org/ */
.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}
/* end https://en.wikipedia.org/ */
</style><div role="note" class="hatnote navigation-not-searchable">Not to be confused with <a href="Count_key_data" title="Count key data">Count key data</a>.</div>
<p>In <a href="Statistics" title="Statistics">statistics</a>, <b>count data</b> is a <a href="Statistical_data_type" title="Statistical data type">statistical data type</a> describing <i><a href="Countable_quantity" class="mw-redirect" title="Countable quantity">countable quantities</a></i>, <a href="Data" title="Data">data</a> which can take only the <i><a href="Counting_number" class="mw-redirect" title="Counting number">counting numbers</a></i>, non-negative <a href="Integer" title="Integer">integer</a> values {0, 1, 2, 3, ...}, and where these integers arise from <i><a href="Counting" title="Counting">counting</a></i> rather than <a href="Ranking" title="Ranking">ranking</a>. The statistical treatment of count data is distinct from that of <a href="Binary_data" title="Binary data">binary data</a>, in which the observations can take only two values, usually represented by 0 and 1, and from <a href="Ordinal_data" title="Ordinal data">ordinal data</a>, which may also consist of integers but where the individual values fall on an arbitrary scale and only the relative ranking is important.
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Count_variables">Count variables</h2></div>
<p>An individual piece of count data is often termed a <b>count variable</b>. When such a variable is treated as a <a href="Random_variable" title="Random variable">random variable</a>, the <a href="Poisson_distribution" title="Poisson distribution">Poisson</a>, <a href="Binomial_distribution" title="Binomial distribution">binomial</a> and <a href="Negative_binomial_distribution" title="Negative binomial distribution">negative binomial</a> distributions are commonly used to represent its distribution.
</p>
<div class="mw-heading mw-heading2"><h2 id="Graphical_examination">Graphical examination</h2></div>
<p>Graphical examination of count data may be aided by the use of <a href="Data_transformation_(statistics)" title="Data transformation (statistics)">data transformations</a> chosen to have the property of stabilising the sample variance. In particular, the <a href="Square_root" title="Square root">square root</a> transformation might be used when data can be approximated by a <a href="Poisson_distribution" title="Poisson distribution">Poisson distribution</a> (although other transformation have modestly improved properties), while an inverse sine transformation is available when a <a href="Binomial_distribution" title="Binomial distribution">binomial distribution</a> is preferred.
</p>
<div class="mw-heading mw-heading2"><h2 id="Relating_count_data_to_other_variables">Relating count data to other variables</h2></div>
<p>Here the count variable would be treated as a <a href="Dependent_variable" class="mw-redirect" title="Dependent variable">dependent variable</a>. Statistical methods such as <a href="Least_squares" title="Least squares">least squares</a> and <a href="Analysis_of_variance" title="Analysis of variance">analysis of variance</a> are designed to deal with continuous dependent variables. These can be adapted to deal with count data by using <a href="Data_transformation_(statistics)" title="Data transformation (statistics)">data transformations</a> such as the <a href="Square_root" title="Square root">square root</a> transformation, but such methods have several drawbacks; they are approximate at best and estimate <a href="Parameter" title="Parameter">parameters</a> that are often hard to interpret.
</p><p>The <a href="Poisson_distribution" title="Poisson distribution">Poisson distribution</a> can form the basis for some analyses of count data and in this case <a href="Poisson_regression" title="Poisson regression">Poisson regression</a> may be used. This is a special case of the class of <a href="Generalized_linear_model" title="Generalized linear model">generalized linear models</a> which also contains specific forms of model capable of using the <a href="Binomial_distribution" title="Binomial distribution">binomial distribution</a> (<a href="Binomial_regression" title="Binomial regression">binomial regression</a>, <a href="Logistic_regression" title="Logistic regression">logistic regression</a>) or the <a href="Negative_binomial_distribution" title="Negative binomial distribution">negative binomial distribution</a> where the assumptions of the Poisson model are violated, in particular when the range of count values is limited or when <a href="Overdispersion" title="Overdispersion">overdispersion</a> is present.
</p>
<div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div>
<ul><li><a href="Index_of_dispersion" title="Index of dispersion">Index of dispersion</a></li>
<li><a href="Empirical_distribution_function" title="Empirical distribution function">Empirical distribution function</a></li>
<li><a href="Frequency_distribution" class="mw-redirect" title="Frequency distribution">Frequency distribution</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="Further_reading">Further reading</h2></div>
<ul><li><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite id="CITEREFCameronTrivedi2013" class="citation book cs1"><a href="A._Colin_Cameron" title="A. Colin Cameron">Cameron, A. C.</a>; Trivedi, P. K. (2013). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=qVEwBQAAQBAJ"><i>Regression Analysis of Count Data Book</i></a> (Second ed.). Cambridge University Press. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-1-107-66727-3</bdi>.</cite></li>
<li><cite id="CITEREFHilbe2011" class="citation book cs1"><a href="Joseph_Hilbe" title="Joseph Hilbe">Hilbe, Joseph M.</a> (2011). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=0Q_ijxOEBjMC"><i>Negative Binomial Regression</i></a> (Second ed.). Cambridge University Press. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-0-521-19815-8</bdi>.</cite></li>
<li><cite id="CITEREFWinkelmann2008" class="citation book cs1">Winkelmann, Rainer (2008). <i>Econometric Analysis of Count Data</i> (Fifth ed.). Springer. <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F978-3-540-78389-3">10.1007/978-3-540-78389-3</a>. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-3-540-77648-2</bdi>.</cite></li>
<li>Transition models for count data: a flexible alternative to fixed distribution models <a rel="nofollow" class="external free" href="https://link.springer.com/article/10.1007/s10260-021-00558-6">https://link.springer.com/article/10.1007/s10260-021-00558-6</a></li></ul></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-04-15" href="https://en.wikipedia.org/wiki/?title=Count_data&oldid=1285789772">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>